package com.hourse.app.vo.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @作者：lichenguang
 * @描述：【】
 * @创建：2022/1/24 14:31
 */
@Data
@ApiModel(value = "委托返回VO")
public class OrdersRetVo {

  @ApiModelProperty(value = "委托币种", example = "btc", required = true)
  private String currency;

  @ApiModelProperty(value = "委托时间", example = "btc", required = true)
  private String tradeDate;

  @ApiModelProperty(value = "挂单类型", example = "btc", required = true)
  private String type;

  @ApiModelProperty(value = "价格", example = "btc", required = true)
  private String price;

  @ApiModelProperty(value = "挂单总数量", example = "btc", required = true)
  private String totalAmount;

  @ApiModelProperty(value = "已成交数量", example = "btc", required = true)
  private String tradeAmount;

  @ApiModelProperty(value = "挂单状态", example = "btc", required = true)
  private String status;

  @ApiModelProperty(value = "交易手续费", example = "btc", required = true)
  private String fees;

  public OrdersRetVo() {

  }

  public OrdersRetVo(String currency, String tradeDate, String type, String price, String totalAmount, String tradeAmount, String status, String fees) {
    this.currency = currency;
    this.tradeDate = tradeDate;
    this.type = type;
    this.price = price;
    this.totalAmount = totalAmount;
    this.tradeAmount = tradeAmount;
    this.status = status;
    this.fees = fees;
  }
}
